package com.groupseven.happycampus.mapper;

import com.groupseven.happycampus.common.pojo.Card;

import java.util.List;
import java.util.Map;

public interface CardMapper {

    Integer insertCard(Card card);

    List<Card> cardList(Map<String, Object> params);

    Integer updateCard(Card card);

    Integer deleteCard(Card card);

    Integer deleteCardsByIds(List<Integer> list);

    void addCards(Card card);

    List<Card> selectCards(Card card);
}
